package org.example.studentsystem_back.vo.userManageVo.smallVo;

import lombok.Data;
import org.example.studentsystem_back.domain.Leaders;

@Data
public class PageLeaderItem extends Leaders{
    private String name;
    public void setLeaders(Leaders leaders){
        this.setDepartment(leaders.getDepartment());
        this.setOffice(leaders.getOffice());
        this.setPhone(leaders.getPhone());
        this.setEmployeeId(leaders.getEmployeeId());
        this.setHireDate(leaders.getHireDate());
        this.setPosition(leaders.getPosition());
        this.setTitle(leaders.getTitle());
        this.setUserid(leaders.getUserid());
    }
}
